package startup

import (
	"errors"
	"gorm.io/gorm"
	"shop-service/business"
)

func RegisterService(db *gorm.DB) error {
	if db == nil {
		return errors.New("db invalid memory address or nil pointer dereference")
	}
	business.RegisterService()
	return nil
}
